<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>速派管理系统 www.onsupai.com</title>
<script type="text/javascript">
var base = "${base}/";
var currentUser = "${(Session.currentUser)!'0'}";
if (currentUser == '0') {
	location.href = "${base}/oauth/user/login.action";
}
</script>
<!--框架必需-->
<script type="text/javascript" src="${base}/scripts/plugins/jquery-1.7.1.js"></script>
<script type="text/javascript" src="${base}/scripts/bsFormat.js"></script>
<link href="${base}/css/import_basic.css" rel="stylesheet" type="text/css"/>
<link href="${base}/css/sky/style.css" rel="stylesheet" type="text/css" />
<!--引入弹窗组件-->
<script type="text/javascript" src="${base}/scripts/attention/zDialog/zDrag.js"></script>
<script type="text/javascript" src="${base}/scripts/attention/zDialog/zDialog.js"></script>
</head>
<body id="change">
<div id="mainFrame">
<!--头部与导航start-->
<div id="hbox">
	<div id="bs_bannercenter" style="dispaly:block;">
		<div id="bs_bannerleft">
			<div id="bs_bannerright">
				<div class="bs_banner_logo"></div>
				<div class="bs_banner_title"></div>
			</div>
		</div>
	</div>
	<div class="bs_nav">
		<div class="bs_navleft">
			<li>
				今天是
				<span id="current_time"></span>
				<span id="timer"></span>
			</li>
			<div class="clear"></div>
		</div>
		<div class="bs_navright">
			<span class="icon_user">您好！${(Session.currentUser.username)!''}</span>
			<span class="icon_sms hand" id="sms" onclick="showInBox()">短消息[0]</span>
			<span id="fullSrceen" class="icon_btn_up hand" hideleft="true">全屏</span><!--如果将hideLeft设为true则全屏时左侧也会被隐藏-->
			<span class="icon_no hand" onclick="logout()">退出系统</span>
			<div class="clear"></div>
		</div>
		<div class="clear"></div>
	</div>
</div>
<!--头部与导航end-->
<table width="100%" cellpadding="0" cellspacing="0" class="table_border0">
	<tr>
		<!--左侧区域start-->
		<td id="hideCon" class="ver01 ali01">
			<div id="lbox">
				<div id="lbox_topcenter">
					<div id="lbox_topleft">
						<div id="lbox_topright">
							<div class="lbox_title">操作菜单</div>
						</div>
					</div>
				</div>
				<div id="lbox_middlecenter">
					<div id="lbox_middleleft">
						<div id="lbox_middleright">
							<div id="bs_left">
								<iframe width="100%" height="100%" frameBorder="0" id="frmleft" name="frmleft" src="${base}/oauth/roleUrl/list.action" allowTransparency="true"></iframe>
							</div>
							<!--更改左侧栏的宽度需要修改id="bs_left"的样式-->
						</div>
					</div>
				</div>
				<div id="lbox_bottomcenter">
					<div id="lbox_bottomleft">
						<div id="lbox_bottomright">
							<div class="lbox_foot"></div>
						</div>
					</div>
				</div>
			</div>
		</td>
		<!--左侧区域end-->
		<!--中间栏区域start-->
		<td class="main_shutiao">
			<div class="bs_leftArr" id="bs_center" title="收缩面板"></div>
		</td>
		<!--中间栏区域end-->
		<!--右侧区域start-->
		<td class="ali01 ver01" id="rightDiv" width="100%" height="100%">
			<div id="rbox">
				<div id="rbox_topcenter">
					<div id="rbox_topleft">
						<div id="rbox_topright">
							<div class="rbox_title">
								操作内容
							</div>
						</div>
					</div>
				</div>
				<div id="rbox_middlecenter">
					<div id="rbox_middleleft">
						<div id="rbox_middleright">
							<div id="bs_right">
								<iframe width="100%" scrolling="no" frameBorder="0" id="frmright" name="frmright" src="${base}/admin/open.action"  allowTransparency="true"></iframe>
							</div>
						</div>
					</div>
				</div>
			</div>
		</td>
		<!--右侧区域end-->
	</tr>
</table>
<!--尾部区域start-->
<div id="fbox">
	<div id="bs_footcenter">
		<div id="bs_footleft">
			<div id="bs_footright" class="white">
				www.onsupai.com 速派后台管理系统 COPYRIGHT 2012 @ www.coolbi.com.cn
			</div>
		</div>
	</div>
</div>
<!--尾部区域end-->
</div>
</body>
<script type="text/javascript" src="${base}/js/current_time.js"></script>
<script type="text/javascript">
function logout() {
	top.Dialog.confirm("确定要退出系统吗",function() {
		$.post("${base}/oauth/user/logoutSuccess.action", null, function() {
			window.location = "${base}/j_spring_security_logout"
		});
	});
}
function showInBox() {
	var diag = new top.Dialog();
	diag.Title = "收信箱";
	diag.URL = "${base}/admin/sms/showInBox.action";
	diag.Width=800;
	diag.Height=515;
	diag.CancelEvent = function(){
		diag.innerFrame.contentWindow.location.reload();
		diag.close();
	};
	diag.show();
}
</script>
</html>